Fox's Git Mirrors
Commit 4d820b6475141650836a06af8de01eb7033939ce
Parents : 26b99f7
Author : Sebastian Majewski <ccie18643@gmail.com>
Date : 2022-11-24T22:40:43-06:00
Fixed bug where claimed IPv4 address wasn't reported correctly.
Changes
Diff
diff --git a/pytcp/subsystems/packet_handler.py b/pytcp/subsystems/packet_handler.py
index a054fdd..742ffc5 100755
--- a/pytcp/subsystems/packet_handler.py
+++ b/pytcp/subsystems/packet_handler.py
@@ -452,7 +452,7 @@ class PacketHandler:
self._send_arp_announcement(ip4_host.address)
__debug__ and log(
"stack",
- f"Successfully claimed IPv4 address {ip4_unicast}",
+ f"Successfully claimed IPv4 address {ip4_host.address}",
)
# If don't have any IPv4 address assigned disable IPv4 protocol
Served by rngit 1.5.0 - Generated in 0.05s